<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link href="<?php echo Yii::app()->baseUrl;?>/themes/<?php echo Yii::app()->theme->name;?>/css/admin/main.css" type="text/css" rel="stylesheet" />
<title>Yiibook - Login</title>
</head>
<body>
<div  id="LoginPageView" class="PageView" style="overflow: auto;">
  <div  class="GridView" style="overflow: auto;">
    <div>
      <div  id="LoginView" style="overflow: auto;">
        <div id="LoginLogo" class="yiibook-logo"></div>
        <div class="form">
        <?php $form=$this->beginWidget('CActiveForm', array(
                'id'=>'login-form',
                'enableAjaxValidation'=>false,
        )); ?>
            <div>
              <?php echo $form->labelEx($model,'username'); ?>
              <?php echo $form->textField($model,'username'); ?>
              <?php echo $form->error($model,'username'); ?>
            </div>
            <div>
              <?php echo $form->labelEx($model,'password'); ?>
              <?php echo $form->textField($model,'password'); ?>
              <?php echo $form->error($model,'password'); ?>
            </div>
            <div style = 'clear:both;'>
              <?php echo CHtml::submitButton('登录'); ?>
            </div>
    	<?php $this->endWidget(); ?>
        </div>
    </div>
	<?php echo $this->renderPartial('/layouts/_footer');?>
  </div>
</div>

</body>
</html>
